<ion-header>
  <ion-navbar>
    <ion-title>选择辅助人员</ion-title>
    <ion-buttons left>
      <button ion-button icon-only (click)="dismiss()">
        <ion-icon name="ios-arrow-back"></ion-icon>
        <!--<span ion-text class="ml5">返回</span>-->
      </button>
    </ion-buttons>
    <ion-buttons end>
      <button ion-button icon-only (click)="submit()">
        <span class="mr10 font_size_large">确定</span>
      </button>
    </ion-buttons>
  </ion-navbar>
  <div class="list_search_header">
    <input placeholder="搜索辅助人员，可模糊搜索">
    <span>搜索</span>
  </div>
</ion-header>

<ion-content>

  <div class="w12 bgcolor_white">
    <div class="jl_form">
      <div class="jl_form_item" (click)="noWork=true;updateNoWork()">
        <span class="w08 font_red">不需要辅助人员</span>
      </div>
    </div>
  </div>

  <div class="w12 pl10 pt10 pb10 font_gray">全部辅助人员</div>
  <ul class="xzfzry">
    <ng-container *ngFor='let work of worklist'>
      <li (click)="work.isChecked=!work.isChecked;updateWorks()">
        <span [class.xuan]="work.isChecked">{{work.VALUE}}</span>
      </li>
    </ng-container>
  </ul>
  <!--<ion-list radio-group mode="ios">-->
  <!--<ion-item mode="ios">-->
  <!--<ion-label mode="ios">不需要辅助人员</ion-label>-->
  <!--<ion-checkbox mode="ios" [(ngModel)]="noWork" (ionChange)="updateNoWork()"></ion-checkbox>-->
  <!--</ion-item>-->

  <!--<ion-item mode="ios" *ngFor='let work of worklist'>-->
  <!--<ion-label mode="ios">{{work.VALUE}}</ion-label>-->
  <!--<ion-checkbox mode="ios" [(ngModel)]="work.isChecked" (ionChange)="updateWorks()"></ion-checkbox>-->
  <!--</ion-item>-->

  <!--</ion-list>-->
</ion-content>

<ion-footer>
  <div class="address_footer">
    <button class="w12 add_ljgm_btn" ion-button (click)="submit()">确定</button>
  </div>
</ion-footer>
